/**
 * Project Name:fire-industry-DM-center
 * File Name:Category.java
 * Package Name:com.firestone.bean.entity.elasticsearch
 * Date:2018年3月16日下午2:17:08
 *
*/

package com.firestone.bean.entity.elasticsearch.nested;

import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Description: TODO(企业区域嵌套结构)
 * @author CAIYJ
 * @date 2018年3月16日 下午2:17:08
 */
public class Category {

    @Field(type = FieldType.text,analyzer = "tab_analyzer")
    private String labels;

    @Field(type = FieldType.keyword)
    private String mapId;

    @Field(type = FieldType.keyword)
    private String status;

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public String getMapId() {
        return mapId;
    }

    public void setMapId(String mapId) {
        this.mapId = mapId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
